package com.example.jiaoyidui.component;

import com.example.jiaoyidui.entity.ApiRequestParam;
import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class SystemProperties {

    public final static String BASE_API = "https://open-api.openocean.finance/v1/cross/quote";
    public final static String READ_PATH = "/excel/api_coins.xlsx";
    public final static String TEMPLATE_PATH = "/excel/template.xlsx";
    public final static String TEMPLATE_PATH_ETH = "/excel/template_eth.xlsx";
    public final static List<String> EXCHANGE_LIST = Arrays.asList("openoceanv1", "openoceanv2", "1inch", "paraswap", "matcha");

    // 当前工程根目录
    public final static String USER_DIR = System.getProperty("user.dir");

    // bsc列表
    public static List<ApiRequestParam> bscList = new ArrayList<>();
    // polygon列表
    public static List<ApiRequestParam> polygonList = new ArrayList<>();
    //avalanche
    public static List<ApiRequestParam> avalancheList = new ArrayList<>();
    //Fantom
    public static List<ApiRequestParam> fantomList = new ArrayList<>();
    //eth
    public static List<ApiRequestParam> ethList = new ArrayList<>();
    // 所有链的列表
    public static List<ApiRequestParam> allTransPairList = new ArrayList<>();
}
